Good Receive

Good Receive's Database

UI Name
Database
Type
Remarks

G/R No

String

Avoid using the same G/R No to prevent overwrite. E.g.: GR-001234

G/R Key

String

E.g.: 271800

Last Modified

String

E.g.: 2024-12-20T08:57:37.557

Creditor

String

Creditor must match existing creditor code, and they must be active state. E.g.: 400-R002

Name

String

E.g.: BLUE SOFA PLT

Supplier DO No

String

E.g.: DO-100355

Address [Line 1]

String

E.g.: NO 64, JALAN KP5

Address [Line 2]

String

E.g.: KAWASAN INDUSTRIAL KOTA PUTERI

Address [Line 3]

String

E.g.: 48200, BATU ARANG SELANGOR

Address [Line 4]

String

E.g.: BLOCK B, UNIT 12

Date

String

E.g.: 2024-12-20T00:00:00

Branch

String

E.g.: BR001

Display Term

String

E.g.: NET 60

Purchase Location

String

Must have existing Purchase Location in the accounting system.

E.g.: PJ

Purchase Agent

String

E.g.: AGENT001

Ship Via

String

E.g.: DHL

Ship Info

String

E.g.: EXPRESS

Total (ex)

Number

E.g.: 5000

Inclusive

String

E.g.: T

Taxable Amount

Number

E.g.: 4500

Tax

Number

E.g.: 500

Currency

String

E.g.: USD

Rate

Number

E.g.: 1.2

Local Total

Number

E.g.: 6000

Total

Number

E.g.: 5500

Seq

Number

E.g.: 17

Item Code

String

E.g.: RDS-5528 SOFA

Description

String

E.g.: RDS CLOUD SOFA 5528

Description 2

String

E.g.: L Shape(30", 40") / Col: Beetex HIVE GD 2035 - 05# Gold

Delivery Date

String

E.g.: 2024-12-21T00:00:00

Location

String

E.g.: PJ

UOM

String

E.g.: PCS

Quantity

Number

Value must be number, and value cannot be negative.

E.g.: 2

Unit Price

Number

Value must be number, and value cannot be negative.

E.g.: 2500

Discount

String

E.g.: 10%

C/N Amt.

String

E.g.: 100

Subtotal

Number

E.g.: 4500

Subtotal (ex)

Number

E.g.: 4000

Detail Tax

Number

E.g.: 500

Ref Doc No

String

E.g.: PO-001638

UDF Desc 2

String

E.g.: Special Instructions

Good Receive's Sample Code

Remember to change any { } to the correct field before proceeding to run the script.

This is a sample SQL, may not be as same as your database.

SELECT TOP (10)
    Doc AS Document,
    DocKey AS DocumentKey,
    LastModified,
    CreditorCode,
    CreditorName,
    SupplierDONo,
    InvAddr1,
    InvAddr2,
    InvAddr3,
    InvAddr4,
    DocDate,
    BranchCode,
    DisplayTerm,
    PurchaseLocation,
    PurchaseAgent,
    ShipVia,
    ShipInfo,
    TotalExTax,
    InclusiveTax,
    TaxableAmt,
    Tax,
    CurrencyCode,
    CurrencyRate,
    LocalNetTotal,
    NetTotal,
    Seq,
    ItemCode,
    Description,
    Desc2,
    DeliveryDate,
    Location,
    UOM,
    Qty,
    UnitPrice,
    Discount,
    CNAmt,
    SubTotal,
    SubTotalExTax,
    DtlTax,
    FromDocNo,
    UDF_Desc2,
    LastModified
FROM GoodReceives
WHERE LastModified > "{LAST_MODIFIED_DATE_TIME}";

Last updated