Hi,
Simple question on the difference between the 3 values I see in the help for the RecordCreate method of a view:
0 (view_record_create_noinsert) - does this create a "temp" batch and not actually insert the record until later .insert/.post methods are called?
1 (view_record_create_insert) - does this create the record immediately?
2 (view_record_create_delaykey) - what does this do?
The reason I'm asking is I'm creating a GL batch and I see the API created a batch using .RecordCreate 1 for GLBCTL, then creates records for GLJEH using RecordCreate 2 and then creates records for GLJED using .RecordCreate 3 so I'm trying to understand why.
Is it something like a record needs to exist in GLBCTL (.RecordCreate 1) before a corresponding record can be created in GLJEH (.RecordCreate 2), but then you can selectively decide what to do in GLJED (.RecordCreate 0)?
Is this always the case when attempting to create GL batches?
Simple question on the difference between the 3 values I see in the help for the RecordCreate method of a view:
0 (view_record_create_noinsert) - does this create a "temp" batch and not actually insert the record until later .insert/.post methods are called?
1 (view_record_create_insert) - does this create the record immediately?
2 (view_record_create_delaykey) - what does this do?
The reason I'm asking is I'm creating a GL batch and I see the API created a batch using .RecordCreate 1 for GLBCTL, then creates records for GLJEH using RecordCreate 2 and then creates records for GLJED using .RecordCreate 3 so I'm trying to understand why.
Is it something like a record needs to exist in GLBCTL (.RecordCreate 1) before a corresponding record can be created in GLJEH (.RecordCreate 2), but then you can selectively decide what to do in GLJED (.RecordCreate 0)?
Is this always the case when attempting to create GL batches?